<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Core Plot (iOS): CPTGradient Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="customdoxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>


</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="core-plot-logo.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Core Plot (iOS)
   
   </div>
   <div id="projectbrief">Cocoa plotting framework for Mac OS X and iOS</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript" src="dynsections.js"></script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Animation&#160;&&#160;Constants</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('interface_c_p_t_gradient.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#properties">Properties</a>  </div>
  <div class="headertitle">
<div class="title">CPTGradient Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="CPTGradient" --><!-- doxytag: inherits="NSObject,NSCopying-p-p,NSCoding-p-p" -->
<p>Draws color gradient fills.  
 <a href="interface_c_p_t_gradient.html#details">More...</a></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for CPTGradient:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="interface_c_p_t_gradient__inherit__graph.png" border="0" usemap="#_c_p_t_gradient_inherit__map" alt="Inheritance graph"/></div>
<map name="_c_p_t_gradient_inherit__map" id="_c_p_t_gradient_inherit__map">
<area shape="rect" id="node2" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSObject_Class/Reference/Reference.html" title="NSObject" alt="" coords="24,86,104,117"/><area shape="rect" id="node4" href="http://developer.apple.com/iPhone/library/documentation/Cocoa/Reference/Foundation/Protocols/NSObject_Protocol/Reference/NSObject.html" title="\&lt;NSObject&#45;p\&gt;" alt="" coords="5,6,123,37"/><area shape="rect" id="node6" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Protocols/NSCopying_Protocol/Reference/Reference.html" title="\&lt;NSCopying&#45;p\&gt;" alt="" coords="128,86,256,117"/><area shape="rect" id="node8" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Protocols/NSCoding_Protocol/Reference/Reference.html" title="\&lt;NSCoding&#45;p\&gt;" alt="" coords="280,86,401,117"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-1-trigger" src="closed.png" alt="+"/> Collaboration diagram for CPTGradient:</div>
<div id="dynsection-1-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-1-content" class="dyncontent" style="display:none;">
<div class="center"><img src="interface_c_p_t_gradient__coll__graph.png" border="0" usemap="#_c_p_t_gradient_coll__map" alt="Collaboration graph"/></div>
<map name="_c_p_t_gradient_coll__map" id="_c_p_t_gradient_coll__map">
<area shape="rect" id="node2" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSObject_Class/Reference/Reference.html" title="NSObject" alt="" coords="24,86,104,117"/><area shape="rect" id="node4" href="http://developer.apple.com/iPhone/library/documentation/Cocoa/Reference/Foundation/Protocols/NSObject_Protocol/Reference/NSObject.html" title="\&lt;NSObject&#45;p\&gt;" alt="" coords="5,6,123,37"/><area shape="rect" id="node6" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Protocols/NSCopying_Protocol/Reference/Reference.html" title="\&lt;NSCopying&#45;p\&gt;" alt="" coords="128,86,256,117"/><area shape="rect" id="node8" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Protocols/NSCoding_Protocol/Reference/Reference.html" title="\&lt;NSCoding&#45;p\&gt;" alt="" coords="280,86,401,117"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="class_c_p_t_gradient-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Public Class Methods</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Factory Methods</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(<a class="el" href="interface_c_p_t_gradient.html">CPTGradient</a> *)&#160;</td><td class="memItemRight" valign="bottom">+ <a class="el" href="interface_c_p_t_gradient.html#a4863b01046dbb2b19a056e37860af035">gradientWithBeginningColor:endingColor:</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates and returns a new <a class="el" href="interface_c_p_t_gradient.html" title="Draws color gradient fills.">CPTGradient</a> instance initialized with an axial linear gradient between two given colors.  <a href="#a4863b01046dbb2b19a056e37860af035"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(<a class="el" href="interface_c_p_t_gradient.html">CPTGradient</a> *)&#160;</td><td class="memItemRight" valign="bottom">+ <a class="el" href="interface_c_p_t_gradient.html#ab66ae06884b757f8519efde6fc9f27e0">gradientWithBeginningColor:endingColor:beginningPosition:endingPosition:</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates and returns a new <a class="el" href="interface_c_p_t_gradient.html" title="Draws color gradient fills.">CPTGradient</a> instance initialized with an axial linear gradient between two given colors, at two given normalized positions.  <a href="#ab66ae06884b757f8519efde6fc9f27e0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(<a class="el" href="interface_c_p_t_gradient.html">CPTGradient</a> *)&#160;</td><td class="memItemRight" valign="bottom">+ <a class="el" href="interface_c_p_t_gradient.html#a77de86a1cd435f2d035ac5631d54c7df">aquaSelectedGradient</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates and returns a new <a class="el" href="interface_c_p_t_gradient.html" title="Draws color gradient fills.">CPTGradient</a> instance initialized with the Aqua selected gradient.  <a href="#a77de86a1cd435f2d035ac5631d54c7df"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(<a class="el" href="interface_c_p_t_gradient.html">CPTGradient</a> *)&#160;</td><td class="memItemRight" valign="bottom">+ <a class="el" href="interface_c_p_t_gradient.html#ad8125b1c1bd5474a4d158e33a90d682e">aquaNormalGradient</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates and returns a new <a class="el" href="interface_c_p_t_gradient.html" title="Draws color gradient fills.">CPTGradient</a> instance initialized with the Aqua normal gradient.  <a href="#ad8125b1c1bd5474a4d158e33a90d682e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(<a class="el" href="interface_c_p_t_gradient.html">CPTGradient</a> *)&#160;</td><td class="memItemRight" valign="bottom">+ <a class="el" href="interface_c_p_t_gradient.html#aa2621022f4666ee3d3edeebcf889a7f7">aquaPressedGradient</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates and returns a new <a class="el" href="interface_c_p_t_gradient.html" title="Draws color gradient fills.">CPTGradient</a> instance initialized with the Aqua pressed gradient.  <a href="#aa2621022f4666ee3d3edeebcf889a7f7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(<a class="el" href="interface_c_p_t_gradient.html">CPTGradient</a> *)&#160;</td><td class="memItemRight" valign="bottom">+ <a class="el" href="interface_c_p_t_gradient.html#ab6650d7e4b84bce528a16e37089a40e1">unifiedSelectedGradient</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates and returns a new <a class="el" href="interface_c_p_t_gradient.html" title="Draws color gradient fills.">CPTGradient</a> instance initialized with the unified selected gradient.  <a href="#ab6650d7e4b84bce528a16e37089a40e1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(<a class="el" href="interface_c_p_t_gradient.html">CPTGradient</a> *)&#160;</td><td class="memItemRight" valign="bottom">+ <a class="el" href="interface_c_p_t_gradient.html#a3ac99fab45c2e77c495dbb748e28d535">unifiedNormalGradient</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates and returns a new <a class="el" href="interface_c_p_t_gradient.html" title="Draws color gradient fills.">CPTGradient</a> instance initialized with the unified normal gradient.  <a href="#a3ac99fab45c2e77c495dbb748e28d535"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(<a class="el" href="interface_c_p_t_gradient.html">CPTGradient</a> *)&#160;</td><td class="memItemRight" valign="bottom">+ <a class="el" href="interface_c_p_t_gradient.html#aaea26d140eded8072fa2752b237f7d9d">unifiedPressedGradient</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates and returns a new <a class="el" href="interface_c_p_t_gradient.html" title="Draws color gradient fills.">CPTGradient</a> instance initialized with the unified pressed gradient.  <a href="#aaea26d140eded8072fa2752b237f7d9d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(<a class="el" href="interface_c_p_t_gradient.html">CPTGradient</a> *)&#160;</td><td class="memItemRight" valign="bottom">+ <a class="el" href="interface_c_p_t_gradient.html#a0c4e86f5c95474d432593ad31aa3c792">unifiedDarkGradient</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates and returns a new <a class="el" href="interface_c_p_t_gradient.html" title="Draws color gradient fills.">CPTGradient</a> instance initialized with the unified dark gradient.  <a href="#a0c4e86f5c95474d432593ad31aa3c792"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(<a class="el" href="interface_c_p_t_gradient.html">CPTGradient</a> *)&#160;</td><td class="memItemRight" valign="bottom">+ <a class="el" href="interface_c_p_t_gradient.html#a87dd2593355b18b2ed282c1cef3a2105">sourceListSelectedGradient</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates and returns a new <a class="el" href="interface_c_p_t_gradient.html" title="Draws color gradient fills.">CPTGradient</a> instance initialized with the source list selected gradient.  <a href="#a87dd2593355b18b2ed282c1cef3a2105"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(<a class="el" href="interface_c_p_t_gradient.html">CPTGradient</a> *)&#160;</td><td class="memItemRight" valign="bottom">+ <a class="el" href="interface_c_p_t_gradient.html#a918625705aceed85de17d341325e8504">sourceListUnselectedGradient</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates and returns a new <a class="el" href="interface_c_p_t_gradient.html" title="Draws color gradient fills.">CPTGradient</a> instance initialized with the source list unselected gradient.  <a href="#a918625705aceed85de17d341325e8504"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(<a class="el" href="interface_c_p_t_gradient.html">CPTGradient</a> *)&#160;</td><td class="memItemRight" valign="bottom">+ <a class="el" href="interface_c_p_t_gradient.html#a9e9b5caff97a2757c1581e18b82bc850">rainbowGradient</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates and returns a new <a class="el" href="interface_c_p_t_gradient.html" title="Draws color gradient fills.">CPTGradient</a> instance initialized with a rainbow gradient.  <a href="#a9e9b5caff97a2757c1581e18b82bc850"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(<a class="el" href="interface_c_p_t_gradient.html">CPTGradient</a> *)&#160;</td><td class="memItemRight" valign="bottom">+ <a class="el" href="interface_c_p_t_gradient.html#a1e3090eaea39bd0ac3c810f80afd47ff">hydrogenSpectrumGradient</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates and returns a new <a class="el" href="interface_c_p_t_gradient.html" title="Draws color gradient fills.">CPTGradient</a> instance initialized with a hydrogen spectrum gradient.  <a href="#a1e3090eaea39bd0ac3c810f80afd47ff"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Instance Methods</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Modification</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(<a class="el" href="interface_c_p_t_gradient.html">CPTGradient</a> *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_p_t_gradient.html#aa236bd219d89be3a6e6e3d7424d4f815">gradientWithAlphaComponent:</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Copies the current gradient and sets a new alpha value.  <a href="#aa236bd219d89be3a6e6e3d7424d4f815"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(<a class="el" href="interface_c_p_t_gradient.html">CPTGradient</a> *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_p_t_gradient.html#af84c12a31b6e5eb3cc05bb6a56e49a5b">gradientWithBlendingMode:</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Copies the current gradient and sets a new blending mode.  <a href="#af84c12a31b6e5eb3cc05bb6a56e49a5b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(<a class="el" href="interface_c_p_t_gradient.html">CPTGradient</a> *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_p_t_gradient.html#a6138b7d9b8e913c91bb026f6a8e2740b">addColorStop:atPosition:</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Copies the current gradient and adds a color stop.  <a href="#a6138b7d9b8e913c91bb026f6a8e2740b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(<a class="el" href="interface_c_p_t_gradient.html">CPTGradient</a> *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_p_t_gradient.html#abd28bf29423338bbb678fc021f4e3c98">removeColorStopAtIndex:</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Copies the current gradient and removes the color stop at <code>index</code> from elementList.  <a href="#abd28bf29423338bbb678fc021f4e3c98"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(<a class="el" href="interface_c_p_t_gradient.html">CPTGradient</a> *)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_p_t_gradient.html#a84390b356f12080e5baab72a3f7aeeaa">removeColorStopAtPosition:</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Copies the current gradient and removes the color stop at <code>position</code> from elementList.  <a href="#a84390b356f12080e5baab72a3f7aeeaa"></a><br/></td></tr>
<tr><td colspan="2"><div class="groupHeader">Information</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/GraphicsImaging/Reference/CGColor/Reference/reference.html#//apple_ref/doc/c_ref/CGColorRef.html">CGColorRef</a>)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_p_t_gradient.html#a9e9a6c82b772378bc2c1ee102ecdc6c0">newColorStopAtIndex:</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the color at color stop <code>index</code> from elementList.  <a href="#a9e9a6c82b772378bc2c1ee102ecdc6c0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/GraphicsImaging/Reference/CGColor/Reference/reference.html#//apple_ref/doc/c_ref/CGColorRef.html">CGColorRef</a>)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_p_t_gradient.html#ae7bd0208887774cebb37dcd95899ac47">newColorAtPosition:</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the color at an arbitrary position in the gradient.  <a href="#ae7bd0208887774cebb37dcd95899ac47"></a><br/></td></tr>
<tr><td colspan="2"><div class="groupHeader">Drawing</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_p_t_gradient.html#a25b0a26d315183c8d48f91ae08a929b2">drawSwatchInRect:inContext:</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws the gradient into the given graphics context inside the provided rectangle.  <a href="#a25b0a26d315183c8d48f91ae08a929b2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_p_t_gradient.html#a1a67405990a41768a2bd8655202557d5">fillRect:inContext:</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws the gradient into the given graphics context inside the provided rectangle.  <a href="#a1a67405990a41768a2bd8655202557d5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">(void)&#160;</td><td class="memItemRight" valign="bottom">- <a class="el" href="interface_c_p_t_gradient.html#a9b263110f33aefd250a8c3479df0903f">fillPathInContext:</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws the gradient into the given graphics context clipped to the current drawing path.  <a href="#a9b263110f33aefd250a8c3479df0903f"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="properties"></a>
Properties</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af36afb8296d96490bbbf34a1d27d2d81"></a><!-- doxytag: member="CPTGradient::blendingMode" ref="af36afb8296d96490bbbf34a1d27d2d81" args="" -->
<a class="el" href="_c_p_t_gradient_8h.html#acd9a0a46ddcc0abdb0eaa7d65243ac92">CPTGradientBlendingMode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_c_p_t_gradient.html#af36afb8296d96490bbbf34a1d27d2d81">blendingMode</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The color blending mode used to create the gradient. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6e8054d0e90dec26436ea2228e0d0cd2"></a><!-- doxytag: member="CPTGradient::angle" ref="a6e8054d0e90dec26436ea2228e0d0cd2" args="" -->
CGFloat&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_c_p_t_gradient.html#a6e8054d0e90dec26436ea2228e0d0cd2">angle</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The axis angle of an axial gradient, expressed in degrees and measured counterclockwise from the positive x-axis. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab8180ea8284a2369c795a452dfd99246"></a><!-- doxytag: member="CPTGradient::gradientType" ref="ab8180ea8284a2369c795a452dfd99246" args="" -->
<a class="el" href="_c_p_t_gradient_8h.html#ac64907fd1ce21901bf3e510334476402">CPTGradientType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_c_p_t_gradient.html#ab8180ea8284a2369c795a452dfd99246">gradientType</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The gradient type. <br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Draws color gradient fills. </p>
<p>Gradients consist of multiple colors blended smoothly from one to the next at specified positions using one of three blending modes. The color positions are defined in a range between zero (0) and one (1). Axial gradients are drawn with color positions increasing from left to right when the angle property is zero (0). Radial gradients are drawn centered in the provided drawing region with position zero (0) in the center and one (1) at the outer edge.</p>
<dl class="note"><dt><b>Note:</b></dt><dd>Based on CTGradient (<a href="http://blog.oofn.net/2006/01/15/gradients-in-cocoa/">http://blog.oofn.net/2006/01/15/gradients-in-cocoa/</a>). CTGradient is in the public domain (Thanks Chad Weider!). </dd></dl>
</div><hr/><h2>Method Documentation</h2>
<a class="anchor" id="a6138b7d9b8e913c91bb026f6a8e2740b"></a><!-- doxytag: member="CPTGradient::addColorStop:atPosition:" ref="a6138b7d9b8e913c91bb026f6a8e2740b" args="(CPTColor *color,[atPosition] CGFloat position)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="el" href="interface_c_p_t_gradient.html">CPTGradient</a> *) addColorStop: </td>
          <td></td>
          <td class="paramtype">(<a class="el" href="interface_c_p_t_color.html">CPTColor</a> *)&#160;</td>
          <td class="paramname"><em>color</em></td>
        </tr>
        <tr>
          <td class="paramkey">atPosition:</td>
          <td></td>
          <td class="paramtype">(CGFloat)&#160;</td>
          <td class="paramname"><em>position</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Copies the current gradient and adds a color stop. </p>
<p>Adds a color stop with <code>color</code> at <code>position</code> in elementList. If two elements are at the same position then it is added immediately after the one that was there already.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">color</td><td>The color. </td></tr>
    <tr><td class="paramname">position</td><td>The color stop position (0 ≤ position ≤ 1). </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A copy of the current gradient with the new color stop. </dd></dl>

</div>
</div>
<a class="anchor" id="ad8125b1c1bd5474a4d158e33a90d682e"></a><!-- doxytag: member="CPTGradient::aquaNormalGradient" ref="ad8125b1c1bd5474a4d158e33a90d682e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">+ (<a class="el" href="interface_c_p_t_gradient.html">CPTGradient</a> *) <a class="el" href="interface_c_p_t_gradient.html#ad8125b1c1bd5474a4d158e33a90d682e">aquaNormalGradient</a> </td>
          <td></td>
          <td class="paramname"></td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates and returns a new <a class="el" href="interface_c_p_t_gradient.html" title="Draws color gradient fills.">CPTGradient</a> instance initialized with the Aqua normal gradient. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new <a class="el" href="interface_c_p_t_gradient.html" title="Draws color gradient fills.">CPTGradient</a> instance initialized with the Aqua normal gradient. </dd></dl>

</div>
</div>
<a class="anchor" id="aa2621022f4666ee3d3edeebcf889a7f7"></a><!-- doxytag: member="CPTGradient::aquaPressedGradient" ref="aa2621022f4666ee3d3edeebcf889a7f7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">+ (<a class="el" href="interface_c_p_t_gradient.html">CPTGradient</a> *) <a class="el" href="interface_c_p_t_gradient.html#aa2621022f4666ee3d3edeebcf889a7f7">aquaPressedGradient</a> </td>
          <td></td>
          <td class="paramname"></td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates and returns a new <a class="el" href="interface_c_p_t_gradient.html" title="Draws color gradient fills.">CPTGradient</a> instance initialized with the Aqua pressed gradient. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new <a class="el" href="interface_c_p_t_gradient.html" title="Draws color gradient fills.">CPTGradient</a> instance initialized with the Aqua pressed gradient. </dd></dl>

</div>
</div>
<a class="anchor" id="a77de86a1cd435f2d035ac5631d54c7df"></a><!-- doxytag: member="CPTGradient::aquaSelectedGradient" ref="a77de86a1cd435f2d035ac5631d54c7df" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">+ (<a class="el" href="interface_c_p_t_gradient.html">CPTGradient</a> *) <a class="el" href="interface_c_p_t_gradient.html#a77de86a1cd435f2d035ac5631d54c7df">aquaSelectedGradient</a> </td>
          <td></td>
          <td class="paramname"></td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates and returns a new <a class="el" href="interface_c_p_t_gradient.html" title="Draws color gradient fills.">CPTGradient</a> instance initialized with the Aqua selected gradient. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new <a class="el" href="interface_c_p_t_gradient.html" title="Draws color gradient fills.">CPTGradient</a> instance initialized with the Aqua selected gradient. </dd></dl>

</div>
</div>
<a class="anchor" id="a25b0a26d315183c8d48f91ae08a929b2"></a><!-- doxytag: member="CPTGradient::drawSwatchInRect:inContext:" ref="a25b0a26d315183c8d48f91ae08a929b2" args="(CGRect rect,[inContext] CGContextRef context)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (void) drawSwatchInRect: </td>
          <td></td>
          <td class="paramtype">(<a class="elRef" href="http://developer.apple.com/iPhone/library/documentation/GraphicsImaging/Reference/CGGeometry/Reference/reference.html#//apple_ref/doc/c_ref/CGRect.html">CGRect</a>)&#160;</td>
          <td class="paramname"><em>rect</em></td>
        </tr>
        <tr>
          <td class="paramkey">inContext:</td>
          <td></td>
          <td class="paramtype">(<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/GraphicsImaging/Reference/CGContext/Reference/reference.html#//apple_ref/doc/c_ref/CGContextRef.html">CGContextRef</a>)&#160;</td>
          <td class="paramname"><em>context</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws the gradient into the given graphics context inside the provided rectangle. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">rect</td><td>The rectangle to draw into. </td></tr>
    <tr><td class="paramname">context</td><td>The graphics context to draw into. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a9b263110f33aefd250a8c3479df0903f"></a><!-- doxytag: member="CPTGradient::fillPathInContext:" ref="a9b263110f33aefd250a8c3479df0903f" args="(CGContextRef context)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (void) <a class="el" href="interface_c_p_t_gradient.html#a9b263110f33aefd250a8c3479df0903f">fillPathInContext:</a> </td>
          <td></td>
          <td class="paramtype">(<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/GraphicsImaging/Reference/CGContext/Reference/reference.html#//apple_ref/doc/c_ref/CGContextRef.html">CGContextRef</a>)&#160;</td>
          <td class="paramname"><em>context</em></td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws the gradient into the given graphics context clipped to the current drawing path. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">context</td><td>The graphics context to draw into. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a1a67405990a41768a2bd8655202557d5"></a><!-- doxytag: member="CPTGradient::fillRect:inContext:" ref="a1a67405990a41768a2bd8655202557d5" args="(CGRect rect,[inContext] CGContextRef context)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (void) fillRect: </td>
          <td></td>
          <td class="paramtype">(<a class="elRef" href="http://developer.apple.com/iPhone/library/documentation/GraphicsImaging/Reference/CGGeometry/Reference/reference.html#//apple_ref/doc/c_ref/CGRect.html">CGRect</a>)&#160;</td>
          <td class="paramname"><em>rect</em></td>
        </tr>
        <tr>
          <td class="paramkey">inContext:</td>
          <td></td>
          <td class="paramtype">(<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/GraphicsImaging/Reference/CGContext/Reference/reference.html#//apple_ref/doc/c_ref/CGContextRef.html">CGContextRef</a>)&#160;</td>
          <td class="paramname"><em>context</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draws the gradient into the given graphics context inside the provided rectangle. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">rect</td><td>The rectangle to draw into. </td></tr>
    <tr><td class="paramname">context</td><td>The graphics context to draw into. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aa236bd219d89be3a6e6e3d7424d4f815"></a><!-- doxytag: member="CPTGradient::gradientWithAlphaComponent:" ref="aa236bd219d89be3a6e6e3d7424d4f815" args="(CGFloat alpha)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="el" href="interface_c_p_t_gradient.html">CPTGradient</a> *) <a class="el" href="interface_c_p_t_gradient.html#aa236bd219d89be3a6e6e3d7424d4f815">gradientWithAlphaComponent:</a> </td>
          <td></td>
          <td class="paramtype">(CGFloat)&#160;</td>
          <td class="paramname"><em>alpha</em></td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Copies the current gradient and sets a new alpha value. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">alpha</td><td>The alpha component (0 ≤ alpha ≤ 1). </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A copy of the current gradient with the new alpha value. </dd></dl>

</div>
</div>
<a class="anchor" id="a4863b01046dbb2b19a056e37860af035"></a><!-- doxytag: member="CPTGradient::gradientWithBeginningColor:endingColor:" ref="a4863b01046dbb2b19a056e37860af035" args="(CPTColor *begin,[endingColor] CPTColor *end)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">+ (<a class="el" href="interface_c_p_t_gradient.html">CPTGradient</a> *) gradientWithBeginningColor: </td>
          <td></td>
          <td class="paramtype">(<a class="el" href="interface_c_p_t_color.html">CPTColor</a> *)&#160;</td>
          <td class="paramname"><em>begin</em></td>
        </tr>
        <tr>
          <td class="paramkey">endingColor:</td>
          <td></td>
          <td class="paramtype">(<a class="el" href="interface_c_p_t_color.html">CPTColor</a> *)&#160;</td>
          <td class="paramname"><em>end</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates and returns a new <a class="el" href="interface_c_p_t_gradient.html" title="Draws color gradient fills.">CPTGradient</a> instance initialized with an axial linear gradient between two given colors. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">begin</td><td>The beginning color. </td></tr>
    <tr><td class="paramname">end</td><td>The ending color. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new <a class="el" href="interface_c_p_t_gradient.html" title="Draws color gradient fills.">CPTGradient</a> instance initialized with an axial linear gradient between the two given colors. </dd></dl>

</div>
</div>
<a class="anchor" id="ab66ae06884b757f8519efde6fc9f27e0"></a><!-- doxytag: member="CPTGradient::gradientWithBeginningColor:endingColor:beginningPosition:endingPosition:" ref="ab66ae06884b757f8519efde6fc9f27e0" args="(CPTColor *begin,[endingColor] CPTColor *end,[beginningPosition] CGFloat beginningPosition,[endingPosition] CGFloat endingPosition)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">+ (<a class="el" href="interface_c_p_t_gradient.html">CPTGradient</a> *) gradientWithBeginningColor: </td>
          <td></td>
          <td class="paramtype">(<a class="el" href="interface_c_p_t_color.html">CPTColor</a> *)&#160;</td>
          <td class="paramname"><em>begin</em></td>
        </tr>
        <tr>
          <td class="paramkey">endingColor:</td>
          <td></td>
          <td class="paramtype">(<a class="el" href="interface_c_p_t_color.html">CPTColor</a> *)&#160;</td>
          <td class="paramname"><em>end</em></td>
        </tr>
        <tr>
          <td class="paramkey">beginningPosition:</td>
          <td></td>
          <td class="paramtype">(CGFloat)&#160;</td>
          <td class="paramname"><em>beginningPosition</em></td>
        </tr>
        <tr>
          <td class="paramkey">endingPosition:</td>
          <td></td>
          <td class="paramtype">(CGFloat)&#160;</td>
          <td class="paramname"><em>endingPosition</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates and returns a new <a class="el" href="interface_c_p_t_gradient.html" title="Draws color gradient fills.">CPTGradient</a> instance initialized with an axial linear gradient between two given colors, at two given normalized positions. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">begin</td><td>The beginning color. </td></tr>
    <tr><td class="paramname">end</td><td>The ending color. </td></tr>
    <tr><td class="paramname">beginningPosition</td><td>The beginning position (0 ≤ beginningPosition ≤ 1). </td></tr>
    <tr><td class="paramname">endingPosition</td><td>The ending position (0 ≤ endingPosition ≤ 1). </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new <a class="el" href="interface_c_p_t_gradient.html" title="Draws color gradient fills.">CPTGradient</a> instance initialized with an axial linear gradient between the two given colors, at two given normalized positions. </dd></dl>

</div>
</div>
<a class="anchor" id="af84c12a31b6e5eb3cc05bb6a56e49a5b"></a><!-- doxytag: member="CPTGradient::gradientWithBlendingMode:" ref="af84c12a31b6e5eb3cc05bb6a56e49a5b" args="(CPTGradientBlendingMode mode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="el" href="interface_c_p_t_gradient.html">CPTGradient</a> *) <a class="el" href="interface_c_p_t_gradient.html#af84c12a31b6e5eb3cc05bb6a56e49a5b">gradientWithBlendingMode:</a> </td>
          <td></td>
          <td class="paramtype">(<a class="el" href="_c_p_t_gradient_8h.html#acd9a0a46ddcc0abdb0eaa7d65243ac92">CPTGradientBlendingMode</a>)&#160;</td>
          <td class="paramname"><em>mode</em></td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Copies the current gradient and sets a new blending mode. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">mode</td><td>The blending mode. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A copy of the current gradient with the new blending mode. </dd></dl>

</div>
</div>
<a class="anchor" id="a1e3090eaea39bd0ac3c810f80afd47ff"></a><!-- doxytag: member="CPTGradient::hydrogenSpectrumGradient" ref="a1e3090eaea39bd0ac3c810f80afd47ff" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">+ (<a class="el" href="interface_c_p_t_gradient.html">CPTGradient</a> *) <a class="el" href="interface_c_p_t_gradient.html#a1e3090eaea39bd0ac3c810f80afd47ff">hydrogenSpectrumGradient</a> </td>
          <td></td>
          <td class="paramname"></td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates and returns a new <a class="el" href="interface_c_p_t_gradient.html" title="Draws color gradient fills.">CPTGradient</a> instance initialized with a hydrogen spectrum gradient. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new <a class="el" href="interface_c_p_t_gradient.html" title="Draws color gradient fills.">CPTGradient</a> instance initialized with a hydrogen spectrum gradient. </dd></dl>

</div>
</div>
<a class="anchor" id="ae7bd0208887774cebb37dcd95899ac47"></a><!-- doxytag: member="CPTGradient::newColorAtPosition:" ref="ae7bd0208887774cebb37dcd95899ac47" args="(CGFloat position)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/GraphicsImaging/Reference/CGColor/Reference/reference.html#//apple_ref/doc/c_ref/CGColorRef.html">CGColorRef</a>) <a class="el" href="interface_c_p_t_gradient.html#ae7bd0208887774cebb37dcd95899ac47">newColorAtPosition:</a> </td>
          <td></td>
          <td class="paramtype">(CGFloat)&#160;</td>
          <td class="paramname"><em>position</em></td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the color at an arbitrary position in the gradient. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">position</td><td>The color stop position (0 ≤ position ≤ 1). </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The color at <code>position</code> in gradient. </dd></dl>

</div>
</div>
<a class="anchor" id="a9e9a6c82b772378bc2c1ee102ecdc6c0"></a><!-- doxytag: member="CPTGradient::newColorStopAtIndex:" ref="a9e9a6c82b772378bc2c1ee102ecdc6c0" args="(NSUInteger index)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/GraphicsImaging/Reference/CGColor/Reference/reference.html#//apple_ref/doc/c_ref/CGColorRef.html">CGColorRef</a>) <a class="el" href="interface_c_p_t_gradient.html#a9e9a6c82b772378bc2c1ee102ecdc6c0">newColorStopAtIndex:</a> </td>
          <td></td>
          <td class="paramtype">(<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSUInteger</a>)&#160;</td>
          <td class="paramname"><em>index</em></td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the color at color stop <code>index</code> from elementList. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>The color stop index. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The color at color stop <code>index</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="a9e9b5caff97a2757c1581e18b82bc850"></a><!-- doxytag: member="CPTGradient::rainbowGradient" ref="a9e9b5caff97a2757c1581e18b82bc850" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">+ (<a class="el" href="interface_c_p_t_gradient.html">CPTGradient</a> *) <a class="el" href="interface_c_p_t_gradient.html#a9e9b5caff97a2757c1581e18b82bc850">rainbowGradient</a> </td>
          <td></td>
          <td class="paramname"></td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates and returns a new <a class="el" href="interface_c_p_t_gradient.html" title="Draws color gradient fills.">CPTGradient</a> instance initialized with a rainbow gradient. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new <a class="el" href="interface_c_p_t_gradient.html" title="Draws color gradient fills.">CPTGradient</a> instance initialized with a rainbow gradient. </dd></dl>

</div>
</div>
<a class="anchor" id="abd28bf29423338bbb678fc021f4e3c98"></a><!-- doxytag: member="CPTGradient::removeColorStopAtIndex:" ref="abd28bf29423338bbb678fc021f4e3c98" args="(NSUInteger index)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="el" href="interface_c_p_t_gradient.html">CPTGradient</a> *) <a class="el" href="interface_c_p_t_gradient.html#abd28bf29423338bbb678fc021f4e3c98">removeColorStopAtIndex:</a> </td>
          <td></td>
          <td class="paramtype">(<a class="elRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSUInteger</a>)&#160;</td>
          <td class="paramname"><em>index</em></td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Copies the current gradient and removes the color stop at <code>index</code> from elementList. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>The color stop index. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A copy of the current gradient with the color stop removed. </dd></dl>

</div>
</div>
<a class="anchor" id="a84390b356f12080e5baab72a3f7aeeaa"></a><!-- doxytag: member="CPTGradient::removeColorStopAtPosition:" ref="a84390b356f12080e5baab72a3f7aeeaa" args="(CGFloat position)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">- (<a class="el" href="interface_c_p_t_gradient.html">CPTGradient</a> *) <a class="el" href="interface_c_p_t_gradient.html#a84390b356f12080e5baab72a3f7aeeaa">removeColorStopAtPosition:</a> </td>
          <td></td>
          <td class="paramtype">(CGFloat)&#160;</td>
          <td class="paramname"><em>position</em></td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Copies the current gradient and removes the color stop at <code>position</code> from elementList. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">position</td><td>The color stop position (0 ≤ position ≤ 1). </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A copy of the current gradient with the color stop removed. </dd></dl>

</div>
</div>
<a class="anchor" id="a87dd2593355b18b2ed282c1cef3a2105"></a><!-- doxytag: member="CPTGradient::sourceListSelectedGradient" ref="a87dd2593355b18b2ed282c1cef3a2105" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">+ (<a class="el" href="interface_c_p_t_gradient.html">CPTGradient</a> *) <a class="el" href="interface_c_p_t_gradient.html#a87dd2593355b18b2ed282c1cef3a2105">sourceListSelectedGradient</a> </td>
          <td></td>
          <td class="paramname"></td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates and returns a new <a class="el" href="interface_c_p_t_gradient.html" title="Draws color gradient fills.">CPTGradient</a> instance initialized with the source list selected gradient. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new <a class="el" href="interface_c_p_t_gradient.html" title="Draws color gradient fills.">CPTGradient</a> instance initialized with the source list selected gradient. </dd></dl>

</div>
</div>
<a class="anchor" id="a918625705aceed85de17d341325e8504"></a><!-- doxytag: member="CPTGradient::sourceListUnselectedGradient" ref="a918625705aceed85de17d341325e8504" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">+ (<a class="el" href="interface_c_p_t_gradient.html">CPTGradient</a> *) <a class="el" href="interface_c_p_t_gradient.html#a918625705aceed85de17d341325e8504">sourceListUnselectedGradient</a> </td>
          <td></td>
          <td class="paramname"></td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates and returns a new <a class="el" href="interface_c_p_t_gradient.html" title="Draws color gradient fills.">CPTGradient</a> instance initialized with the source list unselected gradient. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new <a class="el" href="interface_c_p_t_gradient.html" title="Draws color gradient fills.">CPTGradient</a> instance initialized with the source list unselected gradient. </dd></dl>

</div>
</div>
<a class="anchor" id="a0c4e86f5c95474d432593ad31aa3c792"></a><!-- doxytag: member="CPTGradient::unifiedDarkGradient" ref="a0c4e86f5c95474d432593ad31aa3c792" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">+ (<a class="el" href="interface_c_p_t_gradient.html">CPTGradient</a> *) <a class="el" href="interface_c_p_t_gradient.html#a0c4e86f5c95474d432593ad31aa3c792">unifiedDarkGradient</a> </td>
          <td></td>
          <td class="paramname"></td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates and returns a new <a class="el" href="interface_c_p_t_gradient.html" title="Draws color gradient fills.">CPTGradient</a> instance initialized with the unified dark gradient. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new <a class="el" href="interface_c_p_t_gradient.html" title="Draws color gradient fills.">CPTGradient</a> instance initialized with the unified dark gradient. </dd></dl>

</div>
</div>
<a class="anchor" id="a3ac99fab45c2e77c495dbb748e28d535"></a><!-- doxytag: member="CPTGradient::unifiedNormalGradient" ref="a3ac99fab45c2e77c495dbb748e28d535" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">+ (<a class="el" href="interface_c_p_t_gradient.html">CPTGradient</a> *) <a class="el" href="interface_c_p_t_gradient.html#a3ac99fab45c2e77c495dbb748e28d535">unifiedNormalGradient</a> </td>
          <td></td>
          <td class="paramname"></td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates and returns a new <a class="el" href="interface_c_p_t_gradient.html" title="Draws color gradient fills.">CPTGradient</a> instance initialized with the unified normal gradient. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new <a class="el" href="interface_c_p_t_gradient.html" title="Draws color gradient fills.">CPTGradient</a> instance initialized with the unified normal gradient. </dd></dl>

</div>
</div>
<a class="anchor" id="aaea26d140eded8072fa2752b237f7d9d"></a><!-- doxytag: member="CPTGradient::unifiedPressedGradient" ref="aaea26d140eded8072fa2752b237f7d9d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">+ (<a class="el" href="interface_c_p_t_gradient.html">CPTGradient</a> *) <a class="el" href="interface_c_p_t_gradient.html#aaea26d140eded8072fa2752b237f7d9d">unifiedPressedGradient</a> </td>
          <td></td>
          <td class="paramname"></td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates and returns a new <a class="el" href="interface_c_p_t_gradient.html" title="Draws color gradient fills.">CPTGradient</a> instance initialized with the unified pressed gradient. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new <a class="el" href="interface_c_p_t_gradient.html" title="Draws color gradient fills.">CPTGradient</a> instance initialized with the unified pressed gradient. </dd></dl>

</div>
</div>
<a class="anchor" id="ab6650d7e4b84bce528a16e37089a40e1"></a><!-- doxytag: member="CPTGradient::unifiedSelectedGradient" ref="ab6650d7e4b84bce528a16e37089a40e1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">+ (<a class="el" href="interface_c_p_t_gradient.html">CPTGradient</a> *) <a class="el" href="interface_c_p_t_gradient.html#ab6650d7e4b84bce528a16e37089a40e1">unifiedSelectedGradient</a> </td>
          <td></td>
          <td class="paramname"></td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates and returns a new <a class="el" href="interface_c_p_t_gradient.html" title="Draws color gradient fills.">CPTGradient</a> instance initialized with the unified selected gradient. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new <a class="el" href="interface_c_p_t_gradient.html" title="Draws color gradient fills.">CPTGradient</a> instance initialized with the unified selected gradient. </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>Source/<a class="el" href="_c_p_t_gradient_8h_source.html">CPTGradient.h</a></li>
<li>Source/CPTGradient.m</li>
</ul>
</div><!-- contents -->
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="interface_c_p_t_gradient.html">CPTGradient</a>      </li>

    <li class="footer">Generated by <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a></li>
   </ul>
 </div>


</body>
</html>
